<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>测试</title>
    </head>
    <body>

    <%
        String name1 = (String) application.getAttribute("name1");
        String name2 = (String) session.getAttribute("name2");
        String name3 = (String) session.getAttribute("name3");
        String name4 = (String) session.getAttribute("name4");
    %>

        ${name1}
        ${name2}
        ${name3}
        ${name4}

    </body>
</html>
